]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
dnd: Fix syntax error which led into g-s not starting anymore
authorPascal Nowack <Pascal.Nowack@gmx.de>
Mon, 28 Jan 2019 00:12:56 +0000 (01:12 +0100)
committerPascal Nowack <Pascal.Nowack@gmx.de>
Mon, 28 Jan 2019 00:44:07 +0000 (01:44 +0100)
With the recent port to JS6 classes, the trailing
comma after functions in the syntax of classes has
been removed.
However commit c2961f21 accidentally reintroduces
one trailing comma after a newly created function,
leading into g-s throwing an exception and not
starting anymore.

Therefore, remove this trailing comma to solve
this problem.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/366

js/ui/dnd.js

index 8bffeb4088352d82753153c4ceec26f940e1dab1..07c19202a9448693cc9facd65a87fcdf4a785fcb 100644 (file)
@@ -226,7 +226,7 @@ var _Draggable = class _Draggable {
         }
 
         return false;
-    },
+    }
 
     _onEvent(actor, event) {
         let device = event.get_device();